package model

import (
	"time"

	"gorm.io/gorm"
)

type {{greatHump .ModelName}} struct {
	ID        string         `json:"id" gorm:"primarykey"`
	CreatedAt time.Time      `json:"created_at"`
	UpdatedAt time.Time      `json:"updated_at"`
	DeletedAt gorm.DeletedAt `json:"deleted_at" gorm:"index"`
}

func (m {{greatHump .ModelName}}) TableName() string {
	return "{{lower .ModelName}}"
}
